.ct0-select-dropdown-trigger {
  color: #333;
  width: 232px;
  border: 1px solid #d9d9d9;
  min-height: 24px;
  font-size: 12px;
  padding: 0 4px 0 6px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 22px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

.ct0-select-option-empty {
  padding: 3px 5px;
  display: block;
  text-align: center;
  color: #999;
}

.ct0-select-dropdown-trigger span[role="value"] {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct0-select-dropdown-trigger.red-border {
  border: 1px solid #c55252;
}

.ct0-select-dropdown-trigger.disabled {
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  color: #c5c5c5;
  cursor: not-allowed;
}

.ct0-select-dropdown-trigger .label {
  line-height: 18px;
  align-items: center;
  background: #f5f5f5;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  margin: 2px 5px 0 2px;
  padding: 0 4px 0 8px;
  box-sizing: border-box;
  display: inline-block;
}

.ct0-select-dropdown-trigger > input {
  padding: 0;
  border: none;
  width: 100%;
  outline: none;
}

.ct0-select-dropdown-trigger > input[disabled] {
  border: none;
  background: transparent;
  width: 100%;
}

.ct0-select-dropdown-trigger .label.disabled {
  cursor: not-allowed;
  color: #c5c5c5
}

.ct0-select-dropdown-trigger .label-remove {
  padding-left: 6px;
}

.ct0-select-dropdown-overlay {
  display: inline-block;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  font-size: 12px;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.ct0-select-dropdown-container {
  width: 100%;
}

.ct0-select-dropdown-container .dropdown-menu {
  border: none;
  max-height: 250px;
  max-width: 100%;
  font-size: 12px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #f5f5f5;
  overflow-y: auto;
  padding: 0;
  cursor: pointer;
  margin-bottom: 0;
}

.ct0-select-dropdown-container .dropdown-menu .menu-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  margin: 0;
  padding: 0 12px;
}

/* 处理 display: flex 下面的属性不生效，给文字外层又套了一个 div*/
.ct0-select-dropdown-container .dropdown-menu .menu-list-item > div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ct0-select-dropdown-container .menu-list-item:hover {
  background: rgb(233, 233, 233);
  color: #037aff;
}

.ct0-select-dropdown-container .menu-list-item.checked {
  color: #037aff;
}

.ct0-select-dropdown-container .rc-menu-item-disabled,
.ct0-select-dropdown-container .rc-menu-item-disabled:hover {
  cursor: not-allowed;
  color: #999999;
  background: transparent;
}

.ct0-select-dropdown-trigger .delete-icon {
  font-size: 12px;
  color: #999999;
  position: relative;
  top: 2px;
}

.ct0-select-dropdown-trigger .arrow-icon {
  font-size: 10px;
  color: #666666;
  position: relative;
  top: 2px;
}

.ct0-select-dropdown-container .filter-input {
  position: relative;
  margin: 6px 12px;
}

.ct0-select-dropdown-container .filter-input input {
  height: 24px;
  line-height: 24px;
  border: rgb(217, 217, 217) solid 1px;
  border-radius: 4px;
  color: rgb(51, 51, 51) !important;
  display: block;
  font-size: 12px;
  outline: none;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.ct0-select-dropdown-container input:hover,
.ct0-select-dropdown-container input:active,
.ct0-select-dropdown-container input:focus {
  border-color: #037aff;
}

.ct0-select-dropdown-container .filter-input .icon {
  position: absolute;
  top: 0;
  right: 6px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ct0-select-dropdown-container .empty {
  padding: 0 12px;
}

.ct0-select-menu {
  border-radius: 0;
  box-shadow: none;
}

.ct0-select-menu > .ct0-select-menu-item-selected:after {
  display: none;
}

.ct0-select-menu > .ct0-select-menu-item-selected {
  background-color: transparent;
  color: #037aff;
}

.ct0-select-dropdown-container .ct0-select-footer-buttons {
  padding: 6px 12px;
  color: #0b71bb;
  display: flex;
  justify-content: space-between;
}

.ct0-select-dropdown-container .ct0-select-footer-button {
  cursor: pointer;
}

.ct0-select-dropdown-container .ct0-select-footer-button.disabled {
  color: #999999;
  cursor: not-allowed;
}
